﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DownLoad.Configs
{
    public class ConfigInfo
    {
        /// <summary>
        /// 下载的路径配置
        /// </summary>
        public PathInfo PathInfo { get; set; }
        /// <summary>
        /// 数据基础信息配置
        /// </summary>
        public SqlServerInfo SqlServerInfo { get; set; }
    }
    /// <summary>
    /// 下载路径
    /// </summary>
    public class PathInfo
    {
        /// <summary>
        /// 服务器路径
        /// </summary>
        public string Server { get; set; }
        /// <summary>
        /// 本地路径
        /// </summary>
        public string Locall { get; set; }
        /// <summary>
        /// 备份路径
        /// </summary>
        public string Backup { get; set; }
    }
    /// <summary>
    /// 数据库基础信息
    /// </summary>
    public class SqlServerInfo
    {
        /// <summary>
        /// 服务器
        /// </summary>
        public string DataSource { get; set; }
        /// <summary>
        /// 数据库
        /// </summary>
        public string Database { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
}
